package cn.tedu.cs.baking.dao;

import cn.tedu.cs.baking.pojo.po.Album;
import cn.tedu.cs.baking.pojo.vo.AlbumVO;

import java.util.List;

public interface AlbumMapper {
    int insert(Album record);

    int insertSelective(Album record);

    Album selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Album record);

    int updateByPrimaryKey(Album record);

    AlbumVO getByName(String name);

    List<AlbumVO> getList(int index, Integer pageSize);

    int deleteById(Long albumId);
}